Example: Content-based Discovery

{
 ...
AttributeSet attrs = new AttributeSet();
attrs.add("name", "John Smith");
SearchEnumeration matches = deptCtx.search("users",attrs);
// Construct a selectable list for candidate "users"
while (matches.hasMoreElements())  {
   SearchItem item = matches.next();
   AttributeSet info = item.getAttributes();
   ...
   }
...
}

Return to Tracks